<tr>
  <% unless params[:host_id] -%>
      <td class="ellipsis">
        <% if fact.host -%>
            <%= link_to(fact.host, host_facts_path(:host_id => fact.host)) %>
        <% else -%>
            <%= _('N/A') %>
        <% end %>
      </td>
  <% end %>
  <td>
    <%= popover("", escaped_warning_context, {:data => {:title => escaped_warning_title, :placement => "top"}, :icon => "warning-triangle-o", :class => "pull-right" }) if is_escaped_value(fact.name) %>
    <%= content_tag(:ol, fact_name(fact, parent), :class => "breadcrumb") %>
  </td>
  <td class="fact-col">
    <% unless fact.compose %>
      <%= popover("", escaped_warning_context, {:data => {:title => escaped_warning_title, :placement => "top"}, :icon => "warning-triangle-o", :class => "pull-right" }) if is_escaped_value(fact.value) %>
      <% allowed_length = 45 %>
      <%= link_to truncate(fact.value, :length => allowed_length),
                  fact_values_path("search" => "facts.#{fact.name} = \"#{fact.value}\""),
                  :title => _("Show all %s facts with the same value") % fact.name,
                  :class => 'pull-left' %>
      <%= show_full_fact_value(fact.value) if fact.value.length > allowed_length %>
    <% end %>
  </td>
  <td class='fact-origin'><%= fact_origin_icon(fact.origin, fact.icon_path) %></td>
  <td><%= fact_from fact %></td>
</tr>
